package com.turing.draw.client.reviewer;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "reviewer", path = "statistic", primary = false)
public interface ReviewStatisticInnerService {

    /*
    * 要素准确率
    * */
    @GetMapping("correctness")
    String calculateCorrectness(@RequestParam("templateId") String templateSn, @RequestParam("id") Integer eleId,
                                @RequestParam("dateBegin") String dateBegin, @RequestParam("dateEnd") String dateEnd);

}
